//
//  RETopCollectionViewCell.m
//  录音
//
//  Created by ywy on 2016/12/25.
//  Copyright © 2016年 Wely. All rights reserved.
//

#import "RETopCollectionViewCell.h"
#import <UIImageView+WebCache.h>

@implementation RETopCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
//    self.hiddenImage.hidden = YES;
    // Initialization code
}
//-(void)setSelected:(BOOL)selected
//{
//    if (selected == YES) {
//        self.hiddenImage.hidden = NO;
//    }else
//    {
//        self.hiddenImage.hidden = YES;
//    }
//}

-(void)showData:(REAlbumName*)model
{
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",model.albumImg]] placeholderImage:[UIImage imageNamed:@"img_zhuanji"]];
    self.titleLabel.text = model.albumName;
    
}

@end
